<!--
	作者：lk
	时间：2017-04-05
-->
<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
		<title>订单确认</title>
		<link rel="stylesheet" href="css/common.css" />
		<link rel="stylesheet" type="text/css" href="css/order_confirmation.css"/>

		<script type="text/javascript" src="js/angular.min.js"></script>
		<script type="text/javascript" src="js/jquery-2.1.1.min.js"></script>
		<script type="text/javascript" src="js/global.js" ></script>
		<script type="text/javascript" src="js/order_confirmation.js" ></script>
	</head>
	<body ng-app="myApp" ng-controller="myCtrl">
		<header>
			<span class="return"><a href="javascript:void(0)" onclick="javascript :history.go(-1)"><img src="image/返回.png"></a></span>
			<span class="orderConfirmation_header">订单确认</span>
		</header>
		<section>
			<!--联系信息-->
			<div class="shipping_address" ng-click="checkAddress()">
				<div class="img_right"><img src="image/形状 2 拷贝 3.png"/></div>
				<div class="shipping_address_empty" ng-if="show">
					<div class="no_address"><img src="image/无地址 (3).png"/>暂无收货地址</div>
				</div>
				<div class="shipping_address_exist" ng-if="hide">
					<p class="buyer"><span>{{ address.fullName }}</span><span>{{ address.province }}</span><span>{{ address.zip }}</span></p>
					<p class="buyer_address">
						<img src="image/无地址 (3).png"/>
						{{ address.province }}{{ address.city }}{{ address.district }}{{address.address}}
					</p>
					<p class="buyer_phone">
						<span><img src="image/手机 (4).png"/>{{ address.mobile }}</span>
						<span><img src="image/iconfont-dianhua (1).png"/>{{ address.phone }}</span>
					</p>
				</div>
			</div>
			<!--订单商品-->
			<div class="orders_goods">
				<h2>
					<span>订单商品</span><span>共{{ goodsNum }}件</span>
				</h2>
				<ul>
					<li ng-repeat=" k in arr ">
						<dl>
							<dt><img ng-src="{{ k.goods.defaultImage }}"/></dt>
							<dd>
								<p class="goods_tittle">{{ k.goods.title }}</p>
								<p class="goods">
									<span class="goods_num">数量{{ k.num }}</span>
									<span class="goods_price">¥{{ k.goods.price | getPrice }}</span>
								</p>
							</dd>
						</dl>
					</li>
				</ul>
			</div>
			<!--提示框-->
			<div class="alert" ng-show="reminder"></div>
			<div class="reminder" ng-show="reminder">
				<p>温馨提示</p>
				<p>{{ message }}</p>
				<p ng-click="close()">确定</p>
			</div>
			<!------送货详情------>
			<div class="delivery_details">
				<h2><span class="sp1">配送方式</span><span class="sp2">顺丰快递</span><div class="img_right"><img src="image/形状 2 拷贝 3.png"/></div></h2>
				<h2><span class="sp1">送货方式</span><span class="sp2">工作日、双休日与假日均可送货</span><div class="img_right"><img src="image/形状 2 拷贝 3.png"/></div></h2>
				<div class="leave_word">
					<textarea placeholder="请输入你的附件留言"></textarea>
				</div>
			</div>
		</section>
		<!-----footer部分----->
		<footer>
			<div class="total_prices">
				<p>总价 :<span id="price">¥{{ money.payment | getPrice }}</span></p>
				<p>含运费{{ money.postFee | getPrice }}元</p>
			</div>
			<div class="to_settle_accounts" ng-click="account()">去结算({{ goodsNum }})</div>
		</footer>
	</body>
</html>
